// 批量注册组件
export let enrollment = app => {
    const modulesGlob = import.meta.globEager('./*/*.vue')
    Object.keys(modulesGlob).map(key => {
        const compKey = key.split('/')[1]
        app.component(compKey, modulesGlob[key].default)
    })
}